﻿<?xml version="1.0" encoding="utf-8" ?>
<Layouts>
  <layout id="1" Name="Simple">
    <template>
      <DataTemplate>
        <StackPanel Name='firststk' Orientation='Vertical'>
          <TextBlock Text='{Binding #Title#}' TextWrapping='Wrap'/>
        </StackPanel>
      </DataTemplate>
    </template>
    <control>title control</control>
  </layout>
  <layout id="3" Name="Advanced">
    <template>
      <DataTemplate>
        <StackPanel Name='firststk' Orientation='Horizontal'>
          <Image Source='{Binding PBindingImgSource}' Width="75" Height="69"></Image>
          <StackPanel Name='second' Orientation='Vertical' Margin="0,0,0,0">
            <TextBlock Text='{Binding #Title#}' Style="{StaticResource PhoneTextTitle2Style}"/>
            <TextBlock Text='{Binding #Desc#}' Opacity="0.5" Style="{StaticResource PhoneTextTitle3Style}"/>
          </StackPanel>
        </StackPanel>
      </DataTemplate>
    </template>
    <control>Image control</control>
    <control>Title control</control>
    <control>Desc control</control>
  </layout>
  <layout id="4" Name="Map">
    <template>
      <DataTemplate>
        <StackPanel Name='firststk' Orientation='Vertical'>
          <TextBlock Text='{Binding #Title#}'/>
          <TextBlock Text='{Binding #Address#}'/>
        </StackPanel>
      </DataTemplate>
    </template>
    <control>Title control</control>
    <control>Address control</control>
  </layout>
  <layout id="5" Name="Chart">
    <template>
      <DataTemplate>
        <StackPanel Name='firststk' Orientation='Vertical'>
          <TextBlock Text='{Binding #Title#}'/>
          <TextBlock Text='{Binding #Number#}'/>
        </StackPanel>
      </DataTemplate>
    </template>
    <control>Title control</control>
    <control>Number control</control>
  </layout>
</Layouts>